/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.csit.iap.domain;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Kundzia
 */
public class Order {
    private List<OrderItem> oItems;

    public Order() {
        this.oItems = new ArrayList<OrderItem>();
    }

    public Order(List<OrderItem> oItems) {
        this.oItems = oItems;
    }

    public List<OrderItem> getoItems() {
        return oItems;
    }
    
    public void setoItems(List<OrderItem> oItems) {
        this.oItems = oItems;
    }
    
    public void addOItem(OrderItem oitem) {
        oItems.add(oitem);
    }
}
